<load href="__ASSETS__/js/pptBox.js" />
<div style="width:1000px; margin:0 auto; ">
 <script>
 var box =new PPTBox();
 box.width = 1000; //宽度
 box.height = 300;//高度
 box.autoplayer = 6;//自动播放间隔时间

 //box.add({"url":"图片地址","title":"悬浮标题","href":"链接地址"})
{foreach k ad_list}
 box.add({ "url":"__UPLOAD__/ad/{:ad_list(k)('content')}","href":"{:ad_list(k)('url')}","title":"{:ad_list(k)('name')}" });
{/foreach}
 box.show();
</script>
</div>